<template>
  <div class="edit">
    <router-link :to="route">
      <el-button
        type="primary"
        size="mini"
      >
        字幕编辑
      </el-button>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'MeetingEdit',
  data () {
    return {
      conferenceId: ''
    }
  },
  computed: {
    route () {
      return ({
        path: '/subtitlesedit',
        query: {
          conferenceId: this.conferenceId
        }
      })
    }
  },
  created () {
    this.conferenceId = this.$route.query.conferenceId
  }
}
</script>

<style lang="scss" scoped>
.edit {
  margin-top: 10px;
  text-align: right;
}
</style>
